import { create } from 'zustand'

const useTokenStore = create((set) => ({
  token: '',
  setToken: (newToken: string) => set({ token: newToken }),
  removeToken: () => set({ token: '' }),
}))

export default useTokenStore;

